import { App } from "vue";

// 导入组件
import ImgSlide from "@/components/componentscom/ImgSlide/index.vue";
import Search from "@/components/componentscom/Search/index.vue";
import Blank from "@/components/componentscom/Blank/index.vue";
import ImgSingle from "@/components/componentscom/ImgSingle/index.vue";
import ImgWindow from "@/components/componentscom/ImgWindow/index.vue";
import Videos from "@/components/componentscom/Videos/index.vue";
import Notice from "@/components/componentscom/Notice/index.vue";
import NavBar from "@/components/componentscom/NavBar/index.vue";
import Goods from "@/components/componentscom/Goods/index.vue";
import GoodTabBar from "@/components/componentscom/GoodTabBar/index.vue";
import GroupPurchase from "@/components/componentscom/GroupPurchase/index.vue";
import Seckill from "@/components/componentscom/GroupPurchase/index.vue";
import PinTuan from "@/components/componentscom/GroupPurchase/index.vue";
import Coupon from "@/components/componentscom/Coupon/index.vue";
import TextArea from "@/components/componentscom/TextArea/index.vue";
import Login from "@/components/componentscom/Login/index.vue";
import PlaceMentArea from "@/views/system/design-page/components/placementarea.vue";
import HomePageTemplate from "@/components/componentscom/HomePageTemplate/index.vue"; // 首页模版设计
import PopupImage from "@/components/componentscom/PopupImage/index.vue"; // 弹出广告
import AdvertisingColumn from "@/components/componentscom/AdvertisingColumn/index.vue"; // 营销活动栏
import ClassifyConfig from "@/components/componentscom/ClassifyConfig/index.vue";
import DeskConfig from "@/components/componentscom/DeskConfig/index.vue";

// 导入样式组件...
import SearchStyle from "@/components/rightslider/SearchStyle/index.vue";
import BlankStyle from "@/components/rightslider/BlankStyle/index.vue";
import ImgSingleStyle from "@/components/rightslider/ImgSingleStyle/index.vue";
import ImgSlideStyle from "@/components/rightslider/ImgSlideStyle/index.vue";
import ImgWindowStyle from "@/components/rightslider/ImgWindowStyle/index.vue";
import VideoStyle from "@/components/rightslider/VideoStyle/index.vue";
import NoticeStyle from "@/components/rightslider/NoticeStyle/index.vue";
import NavBarStyle from "@/components/rightslider/NavBarStyle/index.vue";
import GoodsStyle from "@/components/rightslider/GoodsStyle/index.vue";
import GoodTabBarStyle from "@/components/rightslider/GoodTabBarStyle/index.vue";
import GroupPurchaseStyle from "@/components/rightslider/GroupPurchaseStyle/index.vue";
import SeckillStyle from "@/components/rightslider/GroupPurchaseStyle/index.vue";
import PinTuanStyle from "@/components/rightslider/GroupPurchaseStyle/index.vue";
import CouponStyle from "@/components/rightslider/CouponStyle/index.vue";
import TextAreaStyle from "@/components/rightslider/TextAreaStyle/index.vue";
import LoginStyle from "@/components/rightslider/LoginStyle/index.vue";
import HomePageTemplateStyle from "@/components/rightslider/HomePageTemplateStyle/index.vue"; // 首页模版
import PopupImageStyle from "@/components/rightslider/PopupImageStyle/index.vue";
import AdvertisingColumnStyle from "@/components/rightslider/AdvertisingColumnStyle/index.vue";
import ClassifyConfigStyle from "@/components/rightslider/ClassifyConfigStyle/index.vue";
import DeskConfigStyle from "@/components/rightslider/DeskConfigStyle/index.vue";

// 注册组件
export function registerComponents(app: App): void {
  app.component("Search", Search);
  // app.component("PlaceMentArea", PlaceMentArea);
  app.component("Blank", Blank);
  app.component("ImgSingle", ImgSingle);
  app.component("ImgSlide", ImgSlide);
  app.component("ImgWindow", ImgWindow);
  app.component("Videos", Videos);
  app.component("Notice", Notice);
  app.component("NavBar", NavBar);
  app.component("Goods", Goods);
  app.component("GoodTabBar", GoodTabBar);
  app.component("GroupPurchase", GroupPurchase);
  app.component("Seckill", Seckill);
  app.component("PinTuan", PinTuan);
  app.component("Coupon", Coupon);
  app.component("TextArea", TextArea);
  app.component("Login", Login);
  app.component("PlaceMentArea", PlaceMentArea);
  app.component("HomePageTemplate", HomePageTemplate);
  app.component("PopupImage", PopupImage);
  app.component("AdvertisingColumn", AdvertisingColumn);
  app.component("ClassifyConfig", ClassifyConfig);
  app.component("DeskConfig", DeskConfig);

  // 注册样式组件...
  app.component("SearchStyle", SearchStyle);
  app.component("BlankStyle", BlankStyle);
  app.component("ImgSingleStyle", ImgSingleStyle);
  app.component("ImgSlideStyle", ImgSlideStyle);
  app.component("ImgWindowStyle", ImgWindowStyle);
  app.component("VideoStyle", VideoStyle);
  app.component("NoticeStyle", NoticeStyle);
  app.component("NavBarStyle", NavBarStyle);
  app.component("GoodsStyle", GoodsStyle);
  app.component("GoodTabBarStyle", GoodTabBarStyle);
  app.component("GroupPurchaseStyle", GroupPurchaseStyle);
  app.component("SeckillStyle", SeckillStyle);
  app.component("PinTuanStyle", PinTuanStyle);
  app.component("CouponStyle", CouponStyle);
  app.component("TextAreaStyle", TextAreaStyle);
  app.component("LoginStyle", LoginStyle);
  app.component("HomePageTemplateStyle", HomePageTemplateStyle);
  app.component("PopupImageStyle", PopupImageStyle);
  app.component("AdvertisingColumnStyle", AdvertisingColumnStyle);
  app.component("ClassifyConfigStyle", ClassifyConfigStyle);
  app.component("DeskConfigStyle", DeskConfigStyle);
}
